<%@ page language="java" pageEncoding="UTF-8"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
	request.setAttribute("ctx",basePath);
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<base href="<%=basePath%>" />
		<title>首页</title>
		<meta content="text/html; charset=gb2312" http-equiv="Content-Type" />
	</head>
	
	<body>		
		<form action="${ctx }/myAction.do?method=login" method="post" >
			<input name="username" /><br /> 
			<input name="password" /><br /> 
			<input type="submit" value="提交" />
		</form>
	</body>
</html>